package com.yqRecite.util.result;

import lombok.Getter;

@Getter
//定义返回结果枚举类
public enum ResultCodeEnum {
    FAILURE(199),
    SUCCESS(200),
    UNKNOWN_ERROR(201),
    PARAM_ERROR(202),
    NULL_POINT_ERROR(203),
    HTTP_CLIENT_ERROR(204);

    /**
     * 响应状态码
     */
    private Integer code;


    ResultCodeEnum(Integer code){
        this.code = code;
    }

}
